package com.zezer.site.dao;

import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import com.zezer.site.common.Product;

public class ProductDao extends BaseDao {

	public Product[] getProducts() {
		List<Product> products = new ArrayList<Product>();
		Connection conn = null;
		CallableStatement cs = null;
		
		try {
			conn = getConnection();
			cs = conn.prepareCall("");
			
			executeCallableStatement(cs);
			
		} catch (SQLException e) {
			
		}
		
		return products.toArray(new Product[products.size()]);
	}
}
